<div cg-busy="waitingPromise">
    <!--无结果-->
    <div ng-if="page.total<1&&!waiting" class="nullHint col-xs-12">
        <h4 ng-bind="searchText?('很抱歉，没有找到与“'+searchText+'”相关的技术需求。'):'很抱歉，未找到相关的技术需求'">
        </h4>
        <h4>您可以点击下面的按钮提交技术需求，我们将尽快为您找到合适的解决方案。</h4>
        <button class="btn btn-default btn-push-tech">发布技术需求</button>
        <!--<p>相关搜索</p>-->
        <!--<p><span ng-repeat="item in $parent.tags track by $index" ng-bind="$parent.tags[item]"-->
        <!--class="hotKeywords" ng-click="selectTag($parent.tags[item])"></span>-->
        <!--</p>-->
    </div>
    <!--有结果-->
    <ul class="tech-list-items">
        <li class="tech-list-item  demand-list-item" ng-repeat="item in page.data" ng-if="item.online&&item.version==='online'"
            ng-class="{'finished':item.state==='已完成'}">
            <a target="_blank" ui-sref="meta.demand.detail({demandId:item.id})"
               class="clearfix">
                <p class="list-row-head">
                    <span ng-bind="item.title" class="list-row-head-text"></span>
                    <span class="tag-recommend" ng-if="item.rank===1">推荐</span>
                </p>

                <p class="list-row">
            <span ng-bind="'领域：'+item.areas.join('/')" style="margin-right: 25px"
                  ng-show="item.areas.length>0"></span>
            <span>
                <span ng-bind="'地区：'+item.enterpriseInfo.city" style="margin-right: 25px"
                      ng-show="item.enterpriseInfo.city">地区：</span>
                <span ng-bind="(item.state === '已完成' ? '状态：已完成' : (item.verified?'状态：征集中':'状态：审核中'))"
                      style="margin-right: 25px">状态：</span>
                <span style="margin-right: 25px" ng-bind="'诚意金：'+item.earnestMoney+'元'"
                      ng-show="item.earnestMoney">诚意金：</span>
            </span>
                </p>
            </a>
        </li>
    </ul>
    <uib-pagination boundary-links="true" total-items="page.total" ng-model="page.currentPage"
                    max-size="10" boundary-link-numbers="true"
                    class="pagination-sm pull-right" items-per-page="page.pageNumber"
                    template-url="views/common/pagination.html"
                    previous-text="&lsaquo;"
                    next-text="&rsaquo;" first-text="&laquo;" last-text="&raquo;"
                    ng-if="page.data.length>0"></uib-pagination>
</div>
